package com.mdx.rest.repository;

import com.mdx.api.entity.CommunityUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author : jiagang
 * @date : Created in 2022/2/8 17:01
 */
@Repository
public interface UserRepository extends JpaRepository<CommunityUser,Long> {

    CommunityUser findByUserName(String login);
}
